<?php

/**
 * Generated Model class.
 */
class News2tagCriteria extends Criteria
{

    private $id = null;

    private $news_id = null;

    private $tag_id = null;

    /**
     * Set new value for news2tag.id column in current Row.
     * 
     * @param int $IdFromNews2tagCriteria
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return news2tag.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for news2tag.news_id column in current Row.
     * 
     * @param int $NewsIdFromNews2tagCriteria
     * @return void
     */
    public function setNewsId($NewsId)
    {
        $this->__set("news_id", $NewsId);
    }

    /**
     * Return news2tag.news_id column value in current Row.
     * 
     * @return int
     */
    public function getNewsId()
    {
        return $this->__get("news_id");
    }

    /**
     * Set new value for news2tag.tag_id column in current Row.
     * 
     * @param int $TagIdFromNews2tagCriteria
     * @return void
     */
    public function setTagId($TagId)
    {
        $this->__set("tag_id", $TagId);
    }

    /**
     * Return news2tag.tag_id column value in current Row.
     * 
     * @return int
     */
    public function getTagId()
    {
        return $this->__get("tag_id");
    }


}

